.top {
  background-color: #ffffff;
  margin: 10px 30px;
  display: flex;
  height: 100px;
  justify-content: space-between;
  .top-img {
    width: 30%;
    img {
      width: 80%;
      height: 70px;
      border-radius: 40px;
    }
  }
  .top-inp {
    width: 45%;
    .top-all {
      width: 90%;
      height: 35px;
      padding: 0 0 0 20px;
      border-radius: 4px;
      border: 1px solid #2c72ff;
      display: flex;
      justify-content: space-between;
      align-items: center;
      vertical-align: middle;
      .top-across {
        padding: 0 4px 0 0;
        position: relative;
        width: 20%;
        height: 30px;
        margin-top: 8px;
        // line-height: 30px;
        .top-show {
          text-align: center;
          position: absolute;
          width: 70px;
          top: 31px;
          left: -15px;
          border: 1px solid #eee;
          background-color: #fff;
          font-size: 13px;
          display: none;
          z-index: 4;
          box-shadow: 0 12px 48px 16px rgba(0, 0, 0, 0.03),
            0 9px 28px 0 rgba(0, 0, 0, 0.05),
            0 6px 16px -8px rgba(0, 0, 0, 0.08);
          p {
            line-height: 30px;
            &.active {
              color: #1593ff;
            }
          }
          p:hover {
            background-color: #f5f5f5;
          }
        }
        span {
          display: inline-block;
          font-weight: bold;
          font-size: 14px;
          height: 24px;
        }
        span::after {
          content: '';
          width: 7px;
          height: 7px;
          border-bottom: 1px solid #000;
          border-right: 1px solid #000;
          position: absolute;
          right: 12px;
          top: 6px;
          transform: rotate(45deg);
        }
        span:hover::after {
          right: 5px;
          top: 10px;
          transform: rotate(225deg);
        }
      }
      .top-across:hover .top-show {
        display: block;
      }
      .top-search {
        flex: 1;
        border-left: 2px solid #eee;
        position: relative;
        overflow: hidden;
        .top-keyframes {
          position: absolute;
          left: 20px;
          top: 2px;
          p {
            line-height: 30px;
            animation: carousel 7s linear infinite;
          }
        }
        input {
          width: 100%;
          text-indent: 1rem;
          border: none;
          height: 30px;
          z-index: 10;
        }
        input:focus {
          outline: none;
        }
      }
      .top-icon {
        width: 40px;
        text-align: center;
        line-height: 40px;
        height: 100%;
        background: #2c72ff;
        font-size: 16px;
        color: #fff;
      }
    }
    .top-bot {
      margin-top: 10px;
      width: 50%;
      display: flex;
      font-size: 14px;
      justify-content: space-around;
      margin: 0 auto;
      span {
        display: inline-block;
        transition: color 0.3s ease;
      }
      span:hover {
        color: #1593ff;
      }
    }
  }
  .top-calendar {
    width: 26%;
    height: 100px;
    position: relative;
    .cal-box {
      font-size: 12px;
      font-weight: bold;
      padding: 5px 10px;
      width: 80%;
      height: 60%;
      border: 1px solid #e3e8ea;
      border-radius: 7px;
      display: flex;
      flex-direction: column;
      .cal-box-top {
        margin: 3px 5px;
        .box-day {
          font-weight: bold;
          font-size: 18px;
        }
      }
      .cal-box-bottom {
        margin: 2px 5px;
        font-size: 12px;
        font-weight: 100;
      }
    }

    .cal-show {
      position: absolute;
      width: 600px;
      left: -400px;
      display: none;
      height: 600px;
    }
  }
  .top-calendar:hover .cal-show {
    display: block;
  }
}
.op-calendar-pc-left  {
  background-color: rgb(245, 239, 239);
}

@keyframes carousel {
  0% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(-100%);
  }
  25% {
    transform: translateY(-100%);
  }
  45% {
    transform: translateY(-200%);
  }
  50% {
    transform: translateY(-200%);
  }
  70% {
    transform: translateY(-300%);
  }
  75% {
    transform: translateY(-300%);
  }
  95% {
    transform: translateY(-400%);
  }
  100% {
    transform: translateY(0);
  }
}
